package com.vdong.interactive.course.common.enums;

import lombok.Getter;
import lombok.Setter;

/**
 * Created by WangGang on 2017/6/22 0022.
 * E-mail userbean@outlook.com
 * The final interpretation of this procedure is owned by the author
 */
public enum ProcessExceptionEnum {
    EB00000000("EB00000000","示例错误"),
    EB00000001("EB00000001","数据不存在！"),
    EB00000002("EB00000002","提交失败！"),
    EB00000003("EB00000003","该商品已下架！");




    // 成员变量
    @Getter
    @Setter
    private String code;
    @Getter
    @Setter
    private String message;
    // 构造方法
    private ProcessExceptionEnum(String code, String message) {
        this.code = code;
        this.message = message;

    }
}
